Print a variable without spaces between values¶
Print a variable without spaces between values.
Sample value :
x =30
Expected output :
Value of x is “30”
x = 30
print('Value of x is "{}"'.format(x))
Output:
Value of x is "30"
x = 30
print('Value of x is "{}"'.format(x))
Output:
Value of x is "30"